package link;

public class LinkedListDemo {
	public static void main(String[] args) {
		linkedlist list = new linkedlist();
		 list.addLast("B");
		 System.out.println(list.toString());
		 list.addLast("C");
		 list.addLast("d");
		 System.out.println(list.toString());
		 list.addFirst("A");
		 System.out.println(list.toString());
		 
	
}
}
